package com.zmxstudy.rbac.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zmxstudy.rbac.entity.Item;
import com.zmxstudy.rbac.service.ItemService;
import com.zmxstudy.rbac.mapper.ItemMapper;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
* @author Lenovo
* @description 针对表【item】的数据库操作Service实现
* @createDate 2024-06-12 15:48:57
*/
@Service
public class ItemServiceImpl extends ServiceImpl<ItemMapper, Item>
    implements ItemService{

    @Override
    public ArrayList<Item> info() {
        return baseMapper.selectAll();
    }

    @Override
    public ArrayList<Item> infoId(String id) {
        return baseMapper.selectItemById(id);
    }


}




